package cn.mulanbay.persistent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *
 * @author fenghong
 * @create 2022-01-16 10:00
 */
@TableName("operation_log")
public class OperationLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long userId;

    private String username;

    private Long systemFunctionId;

    private String urlAddress;

    private String method;

    private LocalDateTime occurStartTime;

    private LocalDateTime occurEndTime;

    private LocalDateTime storeTime;

    private Long handleDuration;

    private Long storeDuration;

    private String ipAddress;

    private String locationCode;

    private String macAddress;

    private String hostIpAddress;

    private String paras;

    private Integer statusCode;

    private String idValue;

    private String returnData;

    private String remark;

    private LocalDateTime createdTime;

    private LocalDateTime lastModifyTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public Long getSystemFunctionId() {
        return systemFunctionId;
    }

    public void setSystemFunctionId(Long systemFunctionId) {
        this.systemFunctionId = systemFunctionId;
    }
    public String getUrlAddress() {
        return urlAddress;
    }

    public void setUrlAddress(String urlAddress) {
        this.urlAddress = urlAddress;
    }
    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }
    public LocalDateTime getOccurStartTime() {
        return occurStartTime;
    }

    public void setOccurStartTime(LocalDateTime occurStartTime) {
        this.occurStartTime = occurStartTime;
    }
    public LocalDateTime getOccurEndTime() {
        return occurEndTime;
    }

    public void setOccurEndTime(LocalDateTime occurEndTime) {
        this.occurEndTime = occurEndTime;
    }
    public LocalDateTime getStoreTime() {
        return storeTime;
    }

    public void setStoreTime(LocalDateTime storeTime) {
        this.storeTime = storeTime;
    }
    public Long getHandleDuration() {
        return handleDuration;
    }

    public void setHandleDuration(Long handleDuration) {
        this.handleDuration = handleDuration;
    }
    public Long getStoreDuration() {
        return storeDuration;
    }

    public void setStoreDuration(Long storeDuration) {
        this.storeDuration = storeDuration;
    }
    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }
    public String getLocationCode() {
        return locationCode;
    }

    public void setLocationCode(String locationCode) {
        this.locationCode = locationCode;
    }
    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }
    public String getHostIpAddress() {
        return hostIpAddress;
    }

    public void setHostIpAddress(String hostIpAddress) {
        this.hostIpAddress = hostIpAddress;
    }
    public String getParas() {
        return paras;
    }

    public void setParas(String paras) {
        this.paras = paras;
    }
    public Integer getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }
    public String getIdValue() {
        return idValue;
    }

    public void setIdValue(String idValue) {
        this.idValue = idValue;
    }
    public String getReturnData() {
        return returnData;
    }

    public void setReturnData(String returnData) {
        this.returnData = returnData;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }
    public LocalDateTime getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(LocalDateTime lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    @Override
    public String toString() {
        return "OperationLog{" +
            "id=" + id +
            ", userId=" + userId +
            ", username=" + username +
            ", systemFunctionId=" + systemFunctionId +
            ", urlAddress=" + urlAddress +
            ", method=" + method +
            ", occurStartTime=" + occurStartTime +
            ", occurEndTime=" + occurEndTime +
            ", storeTime=" + storeTime +
            ", handleDuration=" + handleDuration +
            ", storeDuration=" + storeDuration +
            ", ipAddress=" + ipAddress +
            ", locationCode=" + locationCode +
            ", macAddress=" + macAddress +
            ", hostIpAddress=" + hostIpAddress +
            ", paras=" + paras +
            ", statusCode=" + statusCode +
            ", idValue=" + idValue +
            ", returnData=" + returnData +
            ", remark=" + remark +
            ", createdTime=" + createdTime +
            ", lastModifyTime=" + lastModifyTime +
        "}";
    }
}
